<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__DATA__/css/base.css"/>
</head>
<body style="padding:10px;">
    <div class="path">
        <strong>您现在的位置：</strong>
        <a href="#">文章管理</a>
    </div>
    <div class="send1">
        <a href="__APP__/news/add_show" class="current button1">发表文章</a>
    </div>
	<!-- <h3>{$row.title}</h3> -->
    <table class="table1">
        <thead>
            <tr>
                <td width="10"><input type="checkbox" /></td>
                <td width="30">CID</td>
                <td width="200">标题</td>
                <td width="50">回帖者</td>
                <td width="60">回帖时间</td>
                <td width="300">内容</td>
                <td width="100">显示状态</td>
                <td width="230">操作</td>
            </tr>
        </thead>
        <tbody>
        <list from="$news" name="$v">
        <tr>
            <td width="10"><input type="checkbox" name="del"/></td>
            <td width="30">{$v.cid}</td>
            <td width="200">{$v.title}</td>
            <td width="50">{$v.username}</td>
            <td width="60">{$v.retime|date:"Y-m-d",@@}</td>
			<td width="300">{$v.rebody}</td>
            <td width="100"><if value="{$v.stat}">已显示<else>已屏蔽</if></td>
    <td width="230" style="font-size:12px;">
        <a href="__WEB__/index/news/index/id/{$v.nid}" target="blank">浏览</a> | 
        
        <a href="__APP__/common/hidden/id/{$v.cid}/stat/{$v.stat}"><if value="{$v.stat}">屏蔽<else>显示</if></a> | 
        <a href="__APP__/common/del/id/{$v.cid}/nid/{$v.nid}">删除</a> 
    </td>
</tr>
</list>
</tbody>  
</table>
<div class="send2 l">
    <a href="#" class="button1">全选</a>
    <a href="#" class="button1">反选</a>
    <a href="#" class="button1">删除</a>
    <a href="#" class="button1">审核</a>
</div>
<div class="page r" style="margin-top:10px;">{$page}</div>
</body>
</html>
